package cn.edu.ctbu.gudie.repository;

import cn.edu.ctbu.gudie.domain.DepartmentHospital;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DepartmentHospitalRepository extends JpaRepository<DepartmentHospital, Integer> {
    List<DepartmentHospital> findByDepartmentId(Integer departmentId);
}
